package com.ruoyi.im.entity;

/**
 * 消息路由
 */
public class MsgRoute {

    private Integer msgId;

    private String msgContent;

    private Integer type;//消息类型1个人，2 群组

    private Integer receiverId;//接收者的id，对应个人的id

    private Integer msgType;//消息类型 1文本 2图片 3视频

    private Integer msgStatus;//消息状态，1未发送 2已发送 3已查看

    private Integer senderId;//发送人的id
    private String senderName;//发送人名称

    private Integer groupId;//如果type==2，对应当前组的编号
    private String groupName;//群组的名称

    private Integer msgCate;//消息种类 1普通消息 2.好友申请消息

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public Integer getMsgCate() {
        return msgCate;
    }

    public void setMsgCate(Integer msgCate) {
        this.msgCate = msgCate;
    }

    public Integer getMsgId() {
        return msgId;
    }

    public void setMsgId(Integer msgId) {
        this.msgId = msgId;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(Integer receiverId) {
        this.receiverId = receiverId;
    }

    public Integer getMsgType() {
        return msgType;
    }

    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }

    public Integer getMsgStatus() {
        return msgStatus;
    }

    public void setMsgStatus(Integer msgStatus) {
        this.msgStatus = msgStatus;
    }

    public Integer getSenderId() {
        return senderId;
    }

    public void setSenderId(Integer senderId) {
        this.senderId = senderId;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }
}
